
<div class="page" ng-controller="inquiryRatifyController">
        <div class="page-head">
            <h1 class="font-thin h4">{{inquiryName}}</h1>
        </div>
        <div class="page-body" id="inquiryPayDetail">
            <form name="orderForm" id="inquiryForm" class="form-validation form-horizontal" novalidate>
                <ng-form name="inquiryForms" >
                    <div class="page-body-banner">
                        <div class="banner-item-text banner-item-textLength">
                            <label class="pull-left banner-text ">计划专员:</label>
                            <label class="banner-text">{{plannerName}}</label>
                        </div>
                        <div class="banner-item-text banner-item-textLength">
                                <label class="pull-left banner-text "><span class="text-danger">*&nbsp;</span>商务专员:</label>
                                <label class="banner-text">{{businessOfficerName}}</label>
                        </div>
                        <div class="banner-item-text banner-item-textLength">
                                <label class="pull-left banner-text "><span class="text-danger">*&nbsp;</span>客服专员:</label>
                                <label class="banner-text">{{customerServiceOfficerName}}</label>
                        </div>
                        <div class="banner-item banner-item-lg">
                            <label class="pull-left  banner-text"><span class="text-danger">*&nbsp;</span>调度专员：</label>
                            <select ng-show="isShow" class="form-control input-sm tms-inline tms-select ipt-3 " id="dispatchOfficerId" ng-model="dispatchOfficerId" name="dispatchOfficerId" ng-options="x.id as x.realName for x in dispatchOfficerList" ng-disabled="dispatchOfficerDis" required>
                                <option value="">请选择</option>
                            </select>
                            <input ng-hide="isShow" type="text" class="banner-ipt tms-ipt " ng-model="dispatchOfficerName" required name="dispatchOfficerName" id="dispatchOfficerName" ng-disabled="dispatchOfficerDis">
                            <button class="tms-btn tms-btn-change" ng-click="changeDispatch()" ng-show="payHide" id="changeDispatch">变换</button>
                        </div>
                        <div class="banner-item banner-item-right">
                            <label class="banner-text">{{urgency}}</label>
                            <select class="form-control banner-urgency-unit tms-select" ng-model="urgencyUnit" name="urgencyUnit" ng-options="x.value as x.text for x in urgencyUnitDropDown" disabled="disabled" required id="urgencyUnit">
                                <option value="">请选择</option>
                            </select>
                            <label class="banner-text">内回复</label>
                        </div>
                    </div>
                    
                    <div class="detail-client-info tms-flex">
                        <span class="client-name flex-1 text-left">{{clientName}}</span>
                        <span class="flex-1 text-right">
                                下单时间：<span >{{createTime}}</span>
                            </span>
                        <!-- <span class="client-date flex-1 text-right" >下单时间：{{createTime}}</span> -->
                    </div>
                    <div class="detail-order-code tms-flex">
                        <span class="flex-1 text-left">
                            总询价单编号：<span class="detail-orderCode-text">{{inquiryId}}</span>
                        </span>
                        <span class="flex-1 text-right">
                            子询价单编号：<span class="detail-orderCode-text">{{inquiryChildId}}</span>
                        </span>
                    </div>

                    <div class="detail-block">
                        <div class="block-head">基本信息</div>
                        <table class="table-bordered detail-table">
                            <tr>
                                <td class="detail-td-left"><span class="text-danger">*&nbsp;</span>发货计划人 ：</td>
                                <td class="detail-td-right">
                                        <label>{{consignorName}}</label>
                                </td>
                            </tr>
                            <tr>
                                <td class="detail-td-left"><span class="text-danger">*&nbsp;</span>发货人电话 ：</td>
                                <td class="detail-td-right">
                                    
                                    <label>{{consignorPhone}}</label>
                                    <!-- <input id="inquiryAdd_consignorPhone" name="consignorPhone" type="text" class="form-control input-sm" ng-model="consignorPhone" placeholder="请填写发货人电话" required disabled="disabled"> -->
                                </td>
                            </tr>
                            <tr>
                                <td class="detail-td-left">总询价内容 ：</td>
                                <td class="detail-td-right td-textarea-container">
                                    <textarea ng-show="!payDisable" class="form-control input-sm" ng-model="content" placeholder="请填写总询价内容" name="content" id="content" ng-disabled="payDisable"></textarea>
                                    <span ng-if="payDisable">{{content}}</span>
                                        
                                </td>
                            </tr>
                        </table>
                    </div>
            
                    <div class="detail-block">
                        <div class="block-head">线路信息</div>
                        <table class="table-bordered detail-table">
                                <tr>
                                    <td class="detail-td-left"><span class="text-danger">*&nbsp;</span>发货地址 ：</td>
                                    <td class="detail-td-right">
                                        <input type="text" ng-show="!payDisable" class="form-control input-sm ipt-4" id="startAddressStr" name="startAddressStr" ng-model="startAddressStr" placeholder="请填写详细地址" required name="startAddressStr" ng-disabled="payDisable">
                                        <span ng-if="payDisable">{{startAddressStr}}</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="detail-td-left"><span class="text-danger">*&nbsp;</span>送货地址 ：</td>
                                    <td class="detail-td-right">
                                        <input type="text" ng-show="!payDisable" class="form-control   input-sm ipt-4" ng-model="endAddressStr" required name="endAddressStr" id="endAddressStr" ng-disabled="payDisable">
                                        <span ng-if="payDisable">{{endAddressStr}}</span>
                                        
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2"   >
                                        <div class="td-multi-col ">
                                            <div class="td-flex flex-1">
                                                <span class="td-title td-title-first"><span class="text-danger">*&nbsp;</span>预计发货时间 ：</span>
                                                <span class="td-content">
                                                    <input id="dataTime" ng-show="!payDisable" name="dataTime" datetimepicker plugintype="datetime" ng-model="plannedArrivalTime" placeholder="预计发货时间" class="form-control tms-ipt tms-ipt-calender ipt-6" type="text" ng-disabled="payDisable" />
                                                    <span ng-if="payDisable">{{plannedArrivalTime}}</span>
                                                </span>
                                            </div>
                                            <div class="td-flex flex-1">
                                                <span class="td-title"><span class="text-danger">*&nbsp;</span>预计到货时间 ：</span>
                                                <span class="td-content">
                                                    <input id="dataTimeEnd" ng-show="!payDisable" name="dataTimeEnd" datetimepicker plugintype="datetime" ng-model="plannedDeliveryTime" placeholder="结束时间" class="form-control tms-ipt-calender tms-ipt ipt-6" type="text" ng-disabled="payDisable" />
                                                    <span ng-if="payDisable">{{plannedDeliveryTime}}</span>
                                                </span>
                                            </div>
                                            <div class="td-flex flex-2">
                                                <span class="td-title"><span class="text-danger">*&nbsp;</span>里程数 ：</span>
                                                <span class="td-content">
                                                        <!-- ng-show="!payDisable" -->
                                                    <input type="text" class="form-control input-sm tms-ipt ipt-3" ng-model="mileage" placeholder="请填写里程数" required name="mileage" id="mileage" ng-pattern="/^[+]?\d+\.?\d*$/" ng-disabled="dispatchOfficerDis">
                                                    <!-- <span ng-if="payDisable">{{mileage}}</span> -->
                                                    <label class="control-label">公里</label>
                                                </span>
                                            </div>
                                        </div>
                                        
                                    </td>
                                
                                </tr>
                            
                            </table>
                    </div>
            
                    <div class="detail-block">
                        <div class="block-head">货物信息</div>
                        <table class="table-bordered detail-table">
                            <tr>
                                <td>
                                    <div class="td-multi-col ">
                                        <div class="td-flex flex-1">
                                            <span class="td-title td-title-first"><span class="text-danger">*&nbsp;</span>货物类别 ：</span>
                                            <span class="td-content">
                                                
                                                <input type="text" ng-show="!payDisable" class="form-control input-sm tms-ipt ipt-3" ng-model="goodsTypeName" placeholder="请填写货物类别" required name="goodsTypeName" id="goodsTypeName" ng-disabled="payDisable">
                                                <span ng-if="payDisable">{{goodsTypeName}}</span>
                                            </span>
                                        </div>
                                        <div class="td-flex flex-1">
                                            <span class="td-title"><span class="text-danger">*&nbsp;</span>货物名称 ：</span>
                                            <span class="td-content">
                                                
                                                <input type="text" ng-show="!payDisable" id="goods_name" class="form-control input-sm tms-ipt ipt-4" ng-model="goodsName" placeholder="请填写货物名称" required name="goodsName" ng-disabled="payDisable">
                                                <span class="ipt-6" ng-if="payDisable">{{goodsName}}</span>
                                            </span>
                                        </div>
                                        <div class="td-flex flex-2">
                                            <span class="td-title"><span class="text-danger">*&nbsp;</span>货物数量 ：</span>
                                            <span class="td-content">
                                                
                                                <input type="text" ng-show="!payDisable" ng-pattern="/^[0-9]+(.[0-9]{1,4})?$/" class="form-control tms-ipt ipt-1" ng-model="goodsQuantity" placeholder="请填写货物数量" required name="goodsQuantity" id="goodsQuantity" ng-disabled="payDisable">
                                                <span ng-if="payDisable">{{goodsQuantity}}</span>
                                                <select  class="form-control input-sm tms-inline tms-select ipt-2 " id="goodsQuantityUnit" ng-model="goodsQuantityUnit" name="goodsQuantityUnit" required ng-options="x.value as x.text for x in goodQuantityUnitDropDown" ng-disabled="payDisable">
                                                    <option value="">请选择</option>
                                                </select>
                                            </span>
                                        </div>
                                    </div>
                                </td>
                                
                            </tr>
                            
                            
                        </table>
                    </div>
                    <div class="detail-block">
                        <div class="block-head">所需车辆信息</div>
                        <table class="table-bordered detail-table">
                            <tr>
                                <td>
                                    <div class="td-multi-col ">
                                        <div class="td-flex flex-1">
                                            <span class="td-title td-title-first"><span class="text-danger">*&nbsp;</span>所需车型 ：</span>
                                            <span class="td-content">
                                                <select id="carType" class="form-control input-sm tms-inline tms-select ipt-6" ng-model="carType" name="carType" required ng-options="x.value as x.text for x in carTypeDropDown" ng-disabled="payDisable">
                                                    <option value="">请选择</option>
                                                </select>
                                            </span>
                                        </div>
                                        <div class="td-flex flex-1">
                                            <span class="td-title"><span class="text-danger">*&nbsp;</span>所需车长 ：</span>
                                            <span class="td-content">
                                                <select id="carLength" class="form-control input-sm  tms-inline tms-select ipt-6" ng-model="carLength" name="carLength" required ng-options="x.value as x.text for x in carLengthDropDown" ng-disabled="payDisable">
                                                    <option value="">请选择</option>
                                                </select>
                                            </span>
                                        </div>
                                        <div class="td-flex flex-1">
                                            <span class="td-title"><span class="text-danger">*&nbsp;</span>承运方式 ：</span>
                                            <span class="td-content">
                                                <select class="form-control input-sm  tms-inline tms-select ipt-6" ng-model="carrierCategory" name="carrierCategory" id="carrierCategory" required ng-options="x.value as x.text for x in carrierCategoryDropDown" ng-disabled="payDisable">
                                                    <option value="">请选择</option>
                                                </select>
                                            </span>
                                        </div>
                                        <div class="td-flex flex-1">
                                            <span class="td-title">装车效果 ：</span>
                                            <span class="td-content">
                                                <input type="text" ng-if="!payDisable" class="form-control input-sm   tms-inline ipt-6" ng-model="loadingEffect" required placeholder="请填写装车效果" name="loadingEffect" id="loadingEffect" ng-disabled="payDisable">
                                                <span ng-if="payDisable">{{loadingEffect}}</span>
                                            </span>
                                        </div>
                                    </div>
                                </td>
                                
                            </tr>
                            
                            
                        </table>
                    </div>

                    <div class="detail-block">
                        <div class="block-head">附件信息</div>
                        <table class="table-bordered detail-table table-tables">
                            <thead class="table-thea">
                                <tr>
                                    <th width="20%">操作</th>
                                    <th width="20%">名称</th>
                                    <th width="20%">大小</th>
                                    <th width="20%">进度</th>
                                    <th width="20%">状态</th>          
                                </tr>
                            </thead>
                            <tbody class="tab-tbod" >
                                <tr ng-repeat="item in driverUploader.queue">
                                    <td class="text-center" nowrap>
                                        <button type="button" class="btn tms-btn attachment-btn-download" ng-click="driverUploader.onDownload(item)" id="download">
                                            下载
                                        </button>
                                    </td>
                                    <td class="text-center">
                                        <strong>{{item.fileName|| item.fileName }}</strong>
                                        <!-- <strong>{{ item._file.name }}</strong> 旧版本 -->
                                    </td>
                                    <td class="text-center" nowrap>{{ item.fileSize/1024/1024|number:2 }} MB</td>
                                    <!-- <td class="text-center" nowrap>{{ item._file.size/1024/1024|number:2 }} MB</td>  旧版本-->
                                    <td class="text-center td-progress"> 
                                        <div class="progress text-center" style="margin-bottom: 0; width:60px;">
                                            <div class="progress-bar" style="margin:0 auto" role="progressbar" ng-style="{ 'width': item.progress + '%' }"></div>
                                        </div>
                                    </td>
                                    <td class="text-center">
                                        <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                        <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                        <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                    </td>
                                    
                                </tr>
                            </tbody>
                            
                        </table>
                    </div>

                    <div class="detail-block">
                        <div class="block-head">备注信息</div>
                        <table class="table-bordered detail-table">
                            <tr>
                                <td class="detail-td-left">
                                    备注：
                                </td>
                                <td class="detail-td-right td-textarea-container detail-remarks">
                                    <textarea class="form-control detail-text-area" ng-model="attachmentDetails" placeholder="请填写备注" name="attachmentDetails" id="attachmentDetails" ng-disabled="payDisable"></textarea>
                                </td>                               
                            </tr>      
                        </table>
                    </div>

                    <div class="detail-block">
                        <div class="block-head">应付报价信息</div>
                        <table class="table-bordered detail-table">
                            <tr>
                                <td>
                                    <div class="td-multi-col ">
                                        <div class="td-flex flex-1">
                                            <span class="td-title td-title-first"><span class="text-danger">*&nbsp;</span>应付单价 ：</span>
                                            <span class="td-content">
                                                <input type="text" ng-show="!payInfoDis" ng-pattern="/^[0-9]+(\.[0-9]{1,2})?$/" class="form-control tms-inline input-sm ipt-3" id="payableQuotation" ng-model="payableQuotation" placeholder="请填写应付单价" required name="payableQuotation" ng-disabled="payInfoDis">
                                                <span ng-if="payInfoDis">{{payableQuotation}}</span>
                                                <select ng-show="payableQuotationUnit||!payInfoDis" class="form-control input-sm tms-inline tms-select ipt-2" id="payableQuotationUnit" ng-model="payableQuotationUnit" name="payableQuotationUnit" ng-options="x.value as x.text for x in payableQuotationUnitDropDown" ng-disabled="payInfoDis" required>
                                                    <option value="">请选择</option>
                                                </select>
                                            </span>
                                        </div>
                                        <div class="td-flex flex-1">
                                            <span class="td-title"><span class="text-danger">*&nbsp;</span>应付说明(外付) ：</span>
                                            <span class="td-content">
                                                <input ng-show="!payInfoDis" type="text" class="form-control tms-inline input-sm ipt-5" id="payableQuotationDetails" ng-model="payableQuotationDetails" placeholder="请填写应付说明（外付）" required name="payableQuotationDetails" ng-disabled="payInfoDis">
                                                <span ng-if="payInfoDis">{{payableQuotationDetails}}</span>
                                            </span>
                                        </div>
                                        
                                    </div>
                                </td>
                                
                            </tr>
                            <tr>
                                <td>
                                    <div class="td-multi-col ">
                                        <div class="td-flex flex-1">
                                            <span class="td-title td-title-first">应付单价2 ：</span>
                                            <span class="td-content">
                                                <input ng-show="!payInfoDis" type="text" ng-pattern="/^[0-9]+(\.[0-9]{1,2})?$/" class="form-control tms-inline input-sm ipt-3" id="payableQuotationTow" ng-model="payableQuotationTow" placeholder="请填写应付单价2" name="payableQuotationTow" ng-disabled="payInfoDis">
                                                <span ng-if="payInfoDis">{{payableQuotationTow}}</span>
                                                <select ng-show="payableQuotationTow||!payInfoDis" class="form-control input-sm tms-inline tms-select ipt-2" id="payableQuotationUnitTow" name="payableQuotationTow" ng-model="payableQuotationUnitTow" ng-options="x.value as x.text for x in payableQuotationUnitDropDown" ng-disabled="payInfoDis">
                                                    <option value="">请选择</option>
                                                </select>
                                            </span>
                                        </div>
                                        <div class="td-flex flex-1">
                                            <span class="td-title">应付说明(外付)2 ：</span>
                                            <span class="td-content">
                                                <input ng-show="!payInfoDis" type="text" class="form-control tms-inline input-sm ipt-5" id="payableQuotationDetailsTow" ng-model="payableQuotationDetailsTow" placeholder="请填写应付说明（外付）2" name="payableQuotationDetailsTow" ng-disabled="payInfoDis">
                                                <span ng-if="payInfoDis">{{payableQuotationDetailsTow}}</span>
                                            </span>
                                        </div>
                                        
                                    </div>
                                </td>
                                
                            </tr>
                            <tr>
                                <td>
                                    <div class="td-multi-col ">
                                        <div class="td-flex flex-1">
                                            <span class="td-title td-title-first">应付单价3 ：</span>
                                            <span class="td-content">
                                                <input ng-show="!payInfoDis" type="text" ng-pattern="/^[0-9]+(\.[0-9]{1,2})?$/" class="form-control tms-inline input-sm ipt-3" id="payableQuotationThree" ng-model="payableQuotationThree" placeholder="请填写应付单价3" name="payableQuotationThree" ng-disabled="payInfoDis">
                                                <span ng-if="payInfoDis">{{payableQuotationThree}}</span>
                                                <select ng-show="payableQuotationThree||!payInfoDis" class="form-control input-sm tms-inline tms-select ipt-2" id="payableQuotationUnitThree" name="payableQuotationThree" ng-model="payableQuotationUnitThree" ng-options="x.value as x.text for x in payableQuotationUnitDropDown" ng-disabled="payInfoDis">
                                                    <option value="">请选择</option>
                                                </select>
                                            </span>
                                        </div>
                                        <div class="td-flex flex-1">
                                            <span class="td-title">应付说明(外付)3 ：</span>
                                            <span class="td-content">
                                                <input ng-show="!payInfoDis" type="text" class="form-control tms-inline input-sm ipt-5" id="payableQuotationDetailsThree" ng-model="payableQuotationDetailsThree" placeholder="请填写应付说明（外付）3" name="payableQuotationDetailsThree" ng-disabled="payInfoDis">
                                                <span ng-if="payInfoDis">{{payableQuotationDetailsThree}}</span>
                                            </span>
                                        </div>
                                        
                                    </div>
                                </td>
                                
                            </tr>

                            
                            
                        </table>
                    </div>




                    <div class="detail-block">
                        <div class="block-head">应付附件信息</div>
                        <table class="table-bordered detail-table" ng-if="name=='pay'">
                            <tr>
                                <td class="detail-td-left">附件上传 ：</td>
                                <td class="detail-td-right">                  
                                    <input class="tms-ipt-file" id="inquiryAdd_payableAttachUploader" ng-disabled="payableAttachUploader.queue.length>9" name="payableAttachUploader" type="file" file-read uploader="payableAttachUploader" multiple />                     
                                    <button class="btn tms-btn tms-btn-select-file" onClick="payableAttachUploader.click()">选择文件</button>
                                    <!-- <button id="inquiryAdd_uploadAll" class="btn tms-btn tms-btn-uploadAll" ng-click="attachmentUploader.uploadAll()" ng-if="!editInquiryDis" ng-disabled="!attachmentUploader.getNotUploadedItems().length">
                                        全部上传
                                    </button> -->
                                </td>
                            </tr>
                            <tr>
                                <td class="detail-td-left"></td>
                                <td class="detail-td-right detail-attachment-container">
                                    <table class="table-bordered detail-attachment-table" ng-if="payableAttachUploader.queue.length">
                                        <thead>
                                            <tr>
                                                <th width="20%">操作</th>
                                                <th width="20%">名称</th>
                                                <th width="20%">大小</th>
                                                <th width="20%">进度</th>
                                                <th width="20%">状态</th>
                                                
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr ng-repeat="item in payableAttachUploader.queue">
                                                <td class="text-center" nowrap>                                       
                                                    <button id="inquiryAdd_download" class="btn tms-btn attachment-btn-download" ng-click="payableAttachUploader.onDownload(item)" ng-if="item.imgSrc">
                                                        下载
                                                    </button>
                                                    <button id="inquiryAdd_upload" class="btn tms-btn attachment-btn-upload" ng-click="payableAttachUploader.upload(item)" ng-if="!item.imgSrc">
                                                        上传
                                                    </button>
                                                    <button id="inquiryAdd_onDelete" class="btn tms-btn attachment-btn-delete" ng-click="payableAttachUploader.onDelete(item)" ng-if="name=='pay'">
                                                        删除
                                                    </button>                                                    
                                                </td>
                                                <td class="attachment-table-filename">
                                                    <strong>{{ item.fileName}}</strong>
                                                </td>
                                                <td class="text-center" nowrap>{{ item.fileSize/1024/1024|number:2 }} MB</td>
                                                <td class="text-center">
                                                    <div class="progress" style="margin: 0 auto; width:60px;">
                                                        <div class="progress-bar" role="progressbar" ng-style="{ 'width': item.progress + '%' }"></div>
                                                    </div>
                                                </td>
                                                <td class="text-center">
                                                    <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                                    <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                                    <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                                </td>     
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                            
                            
                        </table>

                        <table class="table-bordered detail-table" ng-if="name!='pay'">
                            <thead class="table-thea">
                                <tr>
                                    <th width="20%">操作</th> 
                                    <th width="20%">名称</th>
                                    <th width="20%">大小</th>
                                    <th width="20%">进度</th>
                                    <th width="20%">状态</th>                                  
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="item in payableAttachUploader.queue">
                                    <td class="text-center" nowrap>                                       
                                        <button id="inquiryAdd_download_receive" class="btn tms-btn attachment-btn-download" ng-click="payableAttachUploader.onDownload(item)" ng-if="item.imgSrc">
                                            下载
                                        </button>
                                        <!-- <button id="inquiryAdd_upload" class="btn tms-btn attachment-btn-upload" ng-click="payableAttachUploader.upload(item)" ng-if="!item.imgSrc">
                                            上传
                                        </button>
                                        <button id="inquiryAdd_onDelete" class="btn tms-btn attachment-btn-delete" ng-click="payableAttachUploader.onDelete(item)" ng-if="name=='pay'">
                                            删除
                                        </button> -->                      
                                    </td>
                                    <td class="attachment-table-filename">
                                        <strong>{{ item.fileName}}</strong>
                                    </td>
                                    <td class="text-center" nowrap>{{ item.fileSize/1024/1024|number:2 }} MB</td>
                                    <td class="text-center">
                                        <div class="progress" style="margin: 0 auto; width:60px;">
                                            <div class="progress-bar" role="progressbar" ng-style="{ 'width': item.progress + '%' }"></div>
                                        </div>
                                    </td>
                                    <td class="text-center">
                                        <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                        <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                        <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                    </td>
                                </tr>
                            </tbody>
                                
                        </table>
                    </div>

                    <div class="detail-block" ng-show="receiveHide">
                        <div class="block-head">应收报价信息</div>
                        <table class="table-bordered detail-table">
                            <tr>
                                <td>
                                    <div class="td-multi-col ">
                                        <div class="td-flex flex-1">
                                            <span class="td-title td-title-first"><span class="text-danger">*&nbsp;</span>应收单价 ：</span>
                                            <span class="td-content">
                                                <input ng-show="!receiveDisable" type="text" ng-pattern="/^[0-9]+(\.[0-9]{1,2})?$/" class="form-control tms-inline  input-sm ipt-3" id="receivableQuotation" ng-model="receivableQuotation" placeholder="请填写应收单价" required name="receivableQuotation" ng-disabled="receiveDisable">
                                                <span ng-if="receiveDisable">{{receivableQuotation}}</span>
                                                <select ng-show="receivableQuotation||!receiveDisable" class="form-control input-sm tms-inline tms-select ipt-2" id="receivableQuotationUnit" ng-model="receivableQuotationUnit" name="receivableQuotationUnit" ng-options="x.value as x.text for x in payableQuotationUnitDropDown" ng-disabled="receiveDisable" required>
                                                    <option value="">请选择</option>
                                                </select>

                                            </span>
                                        </div>
                                        <div class="td-flex flex-1">
                                            <span class="td-title"><span class="text-danger">*&nbsp;</span>应收说明(厂付) ：</span>
                                            <span class="td-content">
                                                <input ng-show="!receiveDisable" type="text" class="form-control tms-inline input-sm ipt-5" id="receivableQuotationDetails" ng-model="receivableQuotationDetails" placeholder="请填写应收说明（厂付）" required name="receivableQuotationDetails" ng-disabled="receiveDisable">
                                                <span ng-if="receiveDisable">{{receivableQuotationDetails}}</span>
                                            </span>
                                        </div>
                                        
                                    </div>
                                </td>
                                
                            </tr>
                        
                        </table>
                    </div>


            
                    <div class="detail-block">
                        <div class="block-head">备注信息</div>
                        <table class="table-bordered detail-table">
                            <tr>
                                <td class="detail-td-left">
                                备注：
                                </td>
                                <td class="detail-td-right td-textarea-container">
                                    <textarea class="form-control detail-text-area" ng-model="remarks" placeholder="请填写备注" name="remarks" id="remarks" ng-disabled="remarksDisable"></textarea>
                                </td>
                                
                            </tr>
                            
                            
                        </table>
                    </div>
                
            
                    <div class="detail-btn-area text-center detail-bottom">
                            <button class="btn tms-btn tms-btn-sendback" ng-click="returnPriceC()" id="returnPriceC" ng-disabled="priceDis" ng-show="returnPrice">退回报价</button>
                            <button class="btn tms-btn tms-btn-sendback" ng-click="returnOrderC()" id="returnOrderC" ng-disabled="orderDis" ng-show="returnOrder">退回下单</button>
                            <button class="btn tms-btn tms-btn-save" ng-click="confirmC()" id="confirmC" ng-disabled="saveDis" ng-show="confirm">确定</button>
                            <button class="btn tms-btn tms-btn-sendback" ng-click="auditReturnC()" id="auditPassC" ng-disabled="returnDis" ng-show="auditReturn">审核退回</button>
                            <button class="btn tms-btn tms-btn-pass" ng-click="auditPassC()" id="auditPass" ng-disabled="passDis" ng-show="auditPass">审核通过</button>
                            <button class="btn tms-btn tms-btn-save" ng-click="receivaSave()" id="receivaSave" ng-disabled="passDis" ng-show="auditPass">保存</button>
                            <button class="btn tms-btn tms-btn-bided" ng-click="winC()" id="winC" ng-disabled="winDis" ng-show="win">已中标</button>
                            <button class="btn tms-btn tms-btn-unbided" ng-click="loseC()" id="loseC" ng-disabled="loseDis" ng-show="lose">未中标</button>
                            <button class="btn tms-btn tms-btn-tobid" ng-click="pendingC()" id="pendingC" ng-disabled="pendingDis" ng-show="pending">中标待定</button>
                            <!-- ng-click="cancelC()"ui-sref="app.inquiry.InquiryAcceptNew({name:'inquiryNew'})"  -->
                            <button class="btn tms-btn tms-btn-miss" ng-click="cancelC()" id="cancelC">取消</button>
                            <button ui-sref="app.inquiry.inquiryManagent" class="btn tms-btn tms-btn-back" ng-show="manageS" id="returnBack">返回</button>
                    </div>
            
            
                </ng-form>
            </form>
        </div>
    </div>
    